package com.cloud.pole.feign;

import java.util.List;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.cloud.pole.api.msg.MsgNoticeApi;
import com.cloud.pole.common.constant.ApiConstant;
import com.cloud.pole.common.msg.ApiRestResponse;

/*
*2019年3月15日
*cloud-shop
*author:frank-chen
*/
@FeignClient(value = ApiConstant.MSG_SERVICE_ID)

public interface INoticeService {
	 @RequestMapping(value=ApiConstant.MSG_SERVICE_NOTICE_GETSYSNOTICELIST, method = RequestMethod.GET)
	 public ApiRestResponse<List<MsgNoticeApi>> getSysNoticeList(
			@RequestParam(name="userType", defaultValue = "") Integer userType,
			@RequestParam(name="pageSize", defaultValue = "") Integer pageSize);
}
